package com.rabbiter.pm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rabbiter.pm.domain.Accident;
import com.rabbiter.pm.domain.vo.AccidentSelectVo;
import com.rabbiter.pm.domain.vo.AccidentVo;
import com.rabbiter.pm.domain.vo.HandleAccidentVo;

public interface AccidentService extends IService<Accident> {
    /**
     * 上报事故
     */
    Object reportAccident(AccidentVo accidentVo);
    /**
     * 查看所有事故
     */
    Object selectAll(AccidentSelectVo accidentSelectVo);

    /**
     * 处理事故
     */
    Object dealAccident(HandleAccidentVo handleAccidentVo);
}
